package com.alipay.hulu

import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.material3.MaterialTheme
import com.alipay.hulu.activity.BaseActivity
import com.alipay.hulu.activity.entry.EntryActivity
import com.kira.solo.schedule.ScheduleScreen
import dagger.hilt.android.AndroidEntryPoint

/**
 * 定时回放
 * @packageName com.kira.solo.schedule
 * @date 2024/1/24 13:23
 * @author zhanglei
 */
@EntryActivity(
    iconName = "com.alipay.hulu.R\$drawable.icon_luxiang",
    nameResName = "com.alipay.hulu.R\$string.activity__schedule",
    permissions = ["adb", "float", "background", "toast:\${com.alipay.hulu.R\$string.toast_message__add_solopi_background}", "powerSave"],
    index = 3,
    cornerText = "New",
    cornerPersist = 3,
    cornerBg = -0xa700
)
@AndroidEntryPoint
class ScheduleActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        enableEdgeToEdge()
        setContent {
            MaterialTheme {
                ScheduleScreen {
                    finish()
                }
            }
        }
    }
}